<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            /* 1.处理原div属性 */
            padding: 0px;
            box-sizing: border-box;
            /* 2.设置边框 */
            width: 308px;
            height: 204px;
            border: 1px #d8dad8 solid;
            /* 3.设置背景颜色 */
            background-color: #fcfffc;
        }
        .top {
            /* 1.设置边框属性 */
            height: 40px;
            width: 308px;
            border-bottom: 1px dashed #e8ebe8;
            box-sizing: border-box;
            /* 2.设置字体 */
            font-size: 18px;
            color: #9e9d9a;
            text-indent: 20px;
        }
        .bottom {
            font-size: 16px;
            color: #898b76;
            padding-left: 25px;
            padding-top: 10px;
            line-height: 28px;
        }
        p {
            padding: 0px;
            margin: 0px;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 标题 -->
        <div class="top">
            <p>广告板</p>
        </div>
        <!-- 内容 -->
        <div class="bottom">
            <p>赔钱清仓甩卖,全场一律八折优惠!</p>
            <p>赔钱清仓甩卖,全场一律八折优惠!</p>
            <p>赔钱清仓甩卖,全场一律八折优惠!</p>
            <p>赔钱清仓甩卖,全场一律八折优惠!</p>
        </div>
    </div>
    <script>
        let a = Math.random()
        console.log(`如果最后一个数字是奇数则吃外卖,
                    偶数就不吃外卖`)
        console.log(a)
    </script>
</body>
</html>